The caller of xen_init_time, start_xen, doesn't check the return value
of the function. Xen will silently ignore the error and continue.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
res = platform_init_time();
if ( res )
- return res;
+ panic("Timer: Cannot initialize platform timer\n");
/* Check that this CPU supports the Generic Timer interface */
if ( !cpu_has_gentimer )